package com.roger.vo;

/**
 * 范围查询params
 * @author luoweiyi
 *
 * @param <T>
 */
public class RangeQueryParams<T> extends QueryParams{
	/**
	 * 范围查询（起始）
	 */
	private T start;
	
	/**
	 * 范围查询（结束）
	 */
	private T end;
	
	/**
	 * 是否包含左边界
	 */
	private boolean includeLower;
	
	/**
	 * 是否包含右边界
	 */
	private boolean includeUpper;

	public T getStart() {
		return start;
	}

	public void setStart(T start) {
		this.start = start;
	}

	public T getEnd() {
		return end;
	}

	public void setEnd(T end) {
		this.end = end;
	}

	public boolean isIncludeLower() {
		return includeLower;
	}

	public void setIncludeLower(boolean includeLower) {
		this.includeLower = includeLower;
	}

	public boolean isIncludeUpper() {
		return includeUpper;
	}

	public void setIncludeUpper(boolean includeUpper) {
		this.includeUpper = includeUpper;
	}
}
